package com.hua.nailcampus.acl.model.vo;

import com.hua.nailcampus.acl.model.City;
import com.hua.nailcampus.acl.model.Province;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author:chenjianhua
 * @Date:2023/12/28 15:55
 * @Version 17
 */
@Data
public class ProvinceCityVo implements Serializable {
    private static final long  serialVersionUID = 1L;

    private Integer pId;

    private String pName;

    private List<City> cityList;

    public ProvinceCityVo(){

    }
    public ProvinceCityVo(Province province){
        this.pId = province.getId();
        this.pName = province.getName();
    }
}
